package com.hcms.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "cms.jwt")
public class CmsJwtProperties {

    // 存储JWT字段名
    private String tokenHeader = "Authorization";

    // JWT字符前缀
    private String tokenPrefix = "Bearer ";

    // JWT签名秘钥
    private String tokenSecret = "7b560428-0aa7-44ad-bf17-a81e63157ef7";

    // JWT过期时间
    private Long expiration = 86400L;

}

